<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>

<%@ page session="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%-- <%@ include file="/WEB-INF/views/header/header.jsp" %> --%>

<html lang="ko">
<head>
<link type="text/css" rel="stylesheet" href="/resources/common/common.css">
<style>
.side000{
position: absolute;
right: 98px;
bottom: 11px;
}
.list {
	width: 90%;
	border-top: 1px outset #000;
	border-bottom: 1px solid #ddd;
	table-layout: fixed;
}

#a2 {
	display: table-row;
	vertical-align: inherit;
	border-color: inherit;
	background-color: #F6F6F6;
}

#a1 {
	height: 27px;
	padding: 7px 0 4px;
	border-bottom: 1px solid #ececec;
	font-size: 18px;
	color: #333;
	font-weight: normal;
}

@font-face {
	font-family: cat;
	src: url('whitecat.eot'); /* IE9 호환성 보기 */
	src: url('whitecat.eot?iefix') format('eot'), /* IE6-IE8 */  
		 url('whitecat.woff') format('woff'), /* Modern Browsers */  
		 url('resources/whitecat.ttf') format('truetype');
	/* Safari, android, iOS */;
}

#content {
	width: 100%;
}
</style>
<title>♥리뷰 게시판♥</title>
<meta charset="utf-8">
</head>
<body>
	<jsp:include page="/WEB-INF/views/main_header.jsp"></jsp:include>
	<div id="container">
		<div id="content1">
			<div class="location">
				<a href="/">Main ></a> <em>Review</em>
			</div>


			<div class="title">
				<h2 class="kr">Review</h2>
			</div>


			<div class="set_divide">
				<p class="txt_bul_info mg0 side01" style="font-family: cat;"></p>
				<div class="side000">
					<form action="search" method="post">
						<select name="search" id="type_cd">
							<option value="0">제목</option>
							<option value="1">글쓴이</option>
						</select> 
						<input type="text" class="input_txt" id="searchtxt" name="searchtxt">
						<input type="submit" class="btn_gt02 search" value="SEARCH">
					</form>
				</div>
			</div>

			<div id="notice_search">
				<!-- 공지사항_리스트 -->
				<div class="board">
					<table class="list">
						<colgroup>
							<col width="96px">
							<col>
							<col width="88px">
						</colgroup>
						<thead>
							<tr id="a2">
								<th id="a1" ><div style="font-family: cat;">번호</div></th>
								<th id="a1" width="550px;"><div style="font-family: cat;">제목</div></th>
								<th id="a1" width="40px;" style="width: 86px; "><div style="font-family: cat;">글쓴이</div></th>
								<th id="a1" width="40px;" style="width: 84px; "><div style="font-family: cat;">등록일</div></th>
								<th id="a1" width="70px;"><div style="font-family: cat;">조회수</div></th>
							</tr>
						</thead>
						<c:forEach items="${BOARD}" var="BOARD">
							<thead>
								<tr>
									<th
										style="height: 27px; padding: 6px 0 3px; border-top: 1px solid #eee; word-break: break-all;"><div>${BOARD.posts_no}</div></th>

									<th
										style="height: 27px; padding: 6px 0 3px; border-top: 1px solid #eee; word-break: break-all;"><div align="left">
											<a href="ReviewDetailOne?posts_no=${BOARD.posts_no}">${BOARD.posts_title}</a>
										</div></th>
									<th style="height: 27px; padding: 6px 0 3px; border-top: 1px solid #eee; word-break: break-all;"><div>${BOARD.posts_Author }</div></th>
									<th
										style="height: 27px; padding: 6px 0 3px; border-top: 1px solid #eee; word-break: break-all;"><div>${BOARD.posts_create_date}</div></th>
									<th 
									style="height: 27px; padding: 6px 0 3px; border-top: 1px solid #eee; word-break: break-all;"><div>
									${BOARD.rec_count}
									</div>
									</th>
									
								</tr>
							</thead>
						</c:forEach>
					</table>
				</div>
				<!-- //공지사항_리스트 -->
				<div align="right" style="left: -50px; width: 90%">
					<a href="/ReviewInsertForm"><button name="write">글쓰기</button></a></td>
				</div>	
				<!-- 페이지_이동 -->
				<div class="paginate"></div>
				<!-- //페이지_이동 -->
			</div>

			
		</div>
		
		<br><br><br><br><br><br><br><br><br><br>
	</div>
<jsp:include page="/WEB-INF/views/main_bottom.jsp"></jsp:include>
</body>
</html>
